"Gastar polvora en zanates" refers to waste your precious time on useless things, people, situations.